package com.yiwenup.leave.sample.infrastructure.client;


import com.yiwenup.leave.sample.domain.person.entity.Person;
import com.yiwenup.leave.sample.infrastructure.common.api.Response;
import org.springframework.web.bind.annotation.PostMapping;

// @FeignClient(name = "auth-service", path = "/demo/auth")
public interface AuthFeignClient {

    @PostMapping(value = "/login")
    Response login(Person person);
}
